
//banner下三剑客
export interface policyDesc {
    desc: string
    icon: string
    schemeUrl: string
}

// banner下的nav图标
export interface kingKong {
    picUrl: string
    schemeUrl: string
    text: string
    textColor: string
}
export type kingKongList = kingKong[]
export interface kingKongModule {
    kingKongList: kingKongList
}


// 新人专享右边两
export interface indexActivity {
    activityPrice: string
    backgroundUrl: string
    originPrice: string
    picUrl: string
    showPicUrl: string
    subTitle: string
    tag: string
    targetUrl: string
    title: string
}

// 首页banner
export interface focus {
    picUrl: string
    name: string
    id: number
    originSchemeUrl: string
    targetUrl: string
}

// 类目热销榜
export interface categoryHotSellModule {
    categoryList: category[],
    title: string
}
// 类目热销榜列表
export interface category {
    picUrl: string
    categoryName: string
    targetUrl: string
    showPicUrl: string
}

//类目热销榜下面
export interface styleBanner {
    desc: string
    picUrl?: string
    picUrlList?: []
    title: string
}


// 不知道是什么数据
export interface tag {
    appListPicUrl: string
    floorPrice: number
    id: number
    name: string
    newOnShelf: false
    picUrl: string
    simpleDesc: string
    webIndexVerticalPicUrl: string
}


// 首页全部数据聚合
export interface indexType {
    categoryHotSellModule: categoryHotSellModule,   //类目热销榜
    focusList: focus[],     //banner
    indexActivityModule: indexActivity[],   // 新人专享右边
    kingKongModule: kingKongModule,     // banner下的nav图标
    policyDescList: policyDesc[],       //banner下三剑客
    sceneLightShoppingGuideModule: styleBanner[],  //类目热销榜下面两栏
    // tagList: tag[],     //不知道是什么数据
}



// 导航banner
export interface banner {
    id: number
    picUrl: string
}
export type bannerList = banner[]



// 导航
export interface categoryList {
    id: number,
    name: string,
}



// item标题
export interface categoryTitle {
    id: number,
    superCategoryId: number,
    name: string,
    frontDesc: string
}
// 分类item
export interface item {
    id: number,
    primarySkuId: number,
    name: string,
    simpleDesc: string
    retailPrice: number
    sortOriginPrice: number
    listPicUrl: string
}
export type itemList = item[]


export interface categoryItem {
    category: categoryTitle
    itemList: itemList
}
export type categoryItemList = categoryItem[]